package com.example.myerp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-10
 */
public class S_pay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String payId;

    private String storer;

    private String reason;

    private String reasonexact;

    private Integer amountSum;

    private Float costPriceSum;

    private Integer paidAmountSum;

    private String remark;

    private String register;

    private String registerTime;

    private String checker;

    private String checkTime;

    private String checkTag;

    private String attemper;

    private String attemperTime;

    private String storeTag;

    private List<S_pay_detatils> det;


    public List<S_pay_detatils> getDet() {
        return det;
    }

    public void setDet(List<S_pay_detatils> det) {
        this.det = det;
    }

    public Long getId() {
        return id;
    }

    public S_pay() {
    }

    public void setId(Long id) {
        this.id = id;
    }


    public S_pay(Long id, String payId, String storer, String reason, String reasonexact, Integer amountSum, Float costPriceSum, Integer paidAmountSum, String remark, String register, String registerTime, String checker, String checkTime, String checkTag, String attemper, String attemperTime, String storeTag) {
        this.id = id;
        this.payId = payId;
        this.storer = storer;
        this.reason = reason;
        this.reasonexact = reasonexact;
        this.amountSum = amountSum;
        this.costPriceSum = costPriceSum;
        this.paidAmountSum = paidAmountSum;
        this.remark = remark;
        this.register = register;
        this.registerTime = registerTime;
        this.checker = checker;
        this.checkTime = checkTime;
        this.checkTag = checkTag;
        this.attemper = attemper;
        this.attemperTime = attemperTime;
        this.storeTag = storeTag;
    }

    @Override
    public String toString() {
        return "S_pay{" +
                "id=" + id +
                ", payId='" + payId + '\'' +
                ", storer='" + storer + '\'' +
                ", reason='" + reason + '\'' +
                ", reasonexact='" + reasonexact + '\'' +
                ", amountSum=" + amountSum +
                ", costPriceSum=" + costPriceSum +
                ", paidAmountSum=" + paidAmountSum +
                ", remark='" + remark + '\'' +
                ", register='" + register + '\'' +
                ", registerTime='" + registerTime + '\'' +
                ", checker='" + checker + '\'' +
                ", checkTime='" + checkTime + '\'' +
                ", checkTag='" + checkTag + '\'' +
                ", attemper='" + attemper + '\'' +
                ", attemperTime='" + attemperTime + '\'' +
                ", storeTag='" + storeTag + '\'' +
                '}';
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getStorer() {
        return storer;
    }

    public void setStorer(String storer) {
        this.storer = storer;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getReasonexact() {
        return reasonexact;
    }

    public void setReasonexact(String reasonexact) {
        this.reasonexact = reasonexact;
    }

    public Integer getAmountSum() {
        return amountSum;
    }

    public void setAmountSum(Integer amountSum) {
        this.amountSum = amountSum;
    }

    public Float getCostPriceSum() {
        return costPriceSum;
    }

    public void setCostPriceSum(Float costPriceSum) {
        this.costPriceSum = costPriceSum;
    }

    public Integer getPaidAmountSum() {
        return paidAmountSum;
    }

    public void setPaidAmountSum(Integer paidAmountSum) {
        this.paidAmountSum = paidAmountSum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckTag() {
        return checkTag;
    }

    public void setCheckTag(String checkTag) {
        this.checkTag = checkTag;
    }

    public String getAttemper() {
        return attemper;
    }

    public void setAttemper(String attemper) {
        this.attemper = attemper;
    }

    public String getAttemperTime() {
        return attemperTime;
    }

    public void setAttemperTime(String attemperTime) {
        this.attemperTime = attemperTime;
    }

    public String getStoreTag() {
        return storeTag;
    }

    public void setStoreTag(String storeTag) {
        this.storeTag = storeTag;
    }
}
